package com.gykj.rtm.controller;

import javax.annotation.Resource;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/pump")
public class PumpDevCtl {
	
//	@Resource
//	private PumpService pumpService;

/*	@RequestMapping("/hisList")
	public Map<String, Object> getAll(Pump pump, String draw,
			@RequestParam(required = false, defaultValue = "1") int start,
			@RequestParam(required = false, defaultValue = "10") int length) {

		Map<String, Object> map = new HashMap<>();
		PageInfo<Pump> pageInfo = pumpService.selectByPage(pump, start, length);
		map.put("draw", draw);
		map.put("recordsTotal", pageInfo.getTotal());
		map.put("recordsFiltered", pageInfo.getTotal());
		map.put("data", pageInfo.getList());
		return map;
	}*/

}
